package cn.hfatec.shms.web.cw.cwXhtb.dao;

import java.util.List;

import cn.hfatec.shms.web.cw.cwXhtb.model.CwXhtb;
import cn.hfatec.mybatis.mapper.SqlMapper;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.cw.cwXhtb.model.CwXhtbParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("CwXhtbDao")
public interface CwXhtbDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryCwXhtb(@Param("params") CwXhtbParams params);

    /**
     *
     * 根据主键获取数据
     *
     */
    public CwXhtb getCwXhtbById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(CwXhtb cwXhtb);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    /**
     *
     * 更新数据
     *
     */
    public void update(CwXhtb cwXhtb);
}
